package com.web.crawler;

public class MyUrl {
    public String url; //实际url
    public String lang; //该url对应的语言种类

    public MyUrl() {
    }

    public MyUrl(String url, String lang) {
        this.url = url;
        this.lang = lang;
    }

    /**
     * 获取
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * 设置
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * 获取
     * @return lang
     */
    public String getLang() {
        return lang;
    }

    /**
     * 设置
     * @param lang
     */
    public void setLang(String lang) {
        this.lang = lang;
    }

    public String toString() {
        return "MyUrl{url = " + url + ", lang = " + lang + "}";
    }
}
